package chatbot.base.event;
import chatbot.base.ChatConnection;

public class ConnectionEvent extends AbstractEvent implements Event {
    String name;
    ChatConnection c;
    public ConnectionEvent(String name, ChatConnection c) {
        this.name = name;
        this.c = c;
    }

    public ChatConnection getChatConnection() {
        return c;
    }

    public String getName() {
        return name;
    }
}
